package com.jie.vo;


import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "视频资源信息VO")
public class VideoVO {
    //运动名称
    @NotBlank(message = "运动名不能为空")
    private String sportName;

    //运动描述信息
    private String sportInfo;

    @NotBlank(message = "运动种类不能为空")
    //运动钟类
    private String sportClass;

    //视频资源流
    @NotNull(message = "视频资源不能为空")
    private String multipartFile;

    //消耗大卡
    private Integer consumable;


}
